<template>
  <div class="main">
    <!--  当点击底部导航时，显示对应内容在该位置  -->
    <div class="content">
      <router-view></router-view>
    </div>
    <!--  底部导航位置  -->
    <div class="footer">
      <TabBar></TabBar>
    </div>
  </div>
</template>

<script>
import TabBar from "../components/tabbar/TabBar";
import Home from "./home/Home";
export default {
  name: "Main",
  components: {
    TabBar,
    Home
  }
}
</script>

<style scoped>

</style>